﻿@{
    Layout = "~/Views/Shared/AccountMaster.cshtml";
}



<div class="dialog">
    <div class="block">
        <p class="block-heading">登录</p>
        <div class="block-body">
            <label>用户名</label>
            <input type="text" class="span12" id="userName">
            <label>密码</label>
            <input type="password" class="span12" id="passWord">
            <a href="javascript:void(0);" class="btn btn-primary pull-right" id="login">登录</a>
            <div class="clearfix"></div>
        </div>
    </div>
</div>
<script type="text/javascript">

$(document).keydown(function (event) {
    if (event.keyCode == 13) {
        $("#login").click();
    }
});
</script>